Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VEN-2984] Flash loan implementation #460

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
Open

Conversation

Debugger022
Copy link
Collaborator

@Debugger022 Debugger022 commented Dec 18, 2024

Description

This PR introduces the implementation of flashloan functionality for isolated pools. Flashloan enable users to borrow assets without collateral, provided the loan is repaid within the same transaction. This enhancement includes the following changes:

Flashloan Implementation: Added flashloan capability to isolated pools, allowing borrowing and repayment in a single transaction.

Mock Receiver Contract: Introduced a mock receiver contract for testing purposes, which handles the flashloan receipt and repayment.

Test Cases: Comprehensive unit tests for the flashloan logic, including tests for successful execution, edge cases, and failure scenarios.

Deployment Script: Updated the deployment script to accommodate the new flashloan functionality for isolated pools.

Contract Updates: Modified relevant contracts to integrate the flashloan feature while ensuring compatibility with existing logic and maintaining security checks.

@Debugger022 Debugger022 self-assigned this Dec 18, 2024
@Debugger022 Debugger022 changed the title Flash loan implementation [WIP] Flash loan implementation Dec 18, 2024
@Debugger022 Debugger022 changed the title [WIP] Flash loan implementation [VEN-2984] Flash loan implementation Jan 14, 2025
@Debugger022 Debugger022 marked this pull request as ready for review January 14, 2025 05:25
@Debugger022 Debugger022 requested review from web3rover, kkirka, GitGuru7 and chechu and removed request for web3rover, kkirka and GitGuru7 January 14, 2025 07:46
@Debugger022 Debugger022 reopened this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant